home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2433 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  5.5 KB

  1. Path: news1.ucsd.edu!usenet
  2. From: djohnson@tartarus.ucsd.edu (Darin Johnson)
  3. Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
  4. Subject: Re: C or C++ for a 14-year old?
  5. Date: 17 Jan 1996 11:34:03 -0800
  6. Organization: UCSD Computer Science and Engineering Department
  7. Sender: djohnson@tartarus.ucsd.edu
  8. Message-ID: <qqpwciipjo.fsf@tartarus.ucsd.edu>
  9. References: <4b30ld$lp2$1@mhafc.production.compuserve.com>
  10.     <4d4jeh$fv1@wombat.melbpc.org.au>
  11.     <w+PJjMD4ED1aLz3@dexam.another.gun.de> <4ddsg4$p4e@sundog.tiac.net>
  12.     <9601152053.AA06670@dxmint.cern.ch> <4dgij2$su5@sundog.tiac.net>
  13. NNTP-Posting-Host: tartarus.ucsd.edu
  14. In-reply-to: amoreira@nine.com's message of Tue, 16 Jan 1996 16:12:50 GMT
  15. X-Newsreader: Gnus v5.0
  16.  
  17. amoreira@nine.com (Alberto C Moreira) writes:
  18. > Why do you think the best games run under DOS ? 
  19.  
  20. Because that's the largest market, and because of inertia.
  21.  
  22. It is not really for performance reasons; except that when your only
  23. two choices are dos or windows, performance reasons do count.
  24.  
  25. There are fast games on the Mac.  Doom runs very quickly under Linux
  26. (faster than DOS, since it can make use of 32-bit optimizations).
  27. Amiga's had stupendous games it's whole life (and the DOS people
  28. always called it a "game machine", sorta ironic now).  Doom, Descent,
  29. and Dark Forces are spiffy under OS2.  And the very highest end VR
  30. simulators run on SGI's.  These are all systems with an "intrusive"
  31. OS.
  32.  
  33. The game developers may say the bare machine is needed for
  34. performance, but this is rarely justified (except when they think the
  35. only alternative is Windows).  There were (and still are probably)
  36. fights in the Amiga camp between those developing bare-hardware games,
  37. and those that developed games that worked with the OS.  Neither side
  38. was a clear winner, high performance games were written by both sides.
  39. Even the assembly-only crowd didn't have a leg up in performance.  The
  40. bare-hardware camp however often had problems - the early games
  41. refused to run on anything but a floppy.  Other games didn't work with
  42. the later file systems.  Many games didn't work when the next model of
  43. the Amiga came out, or with various incremental improvements.  There
  44. was an absurdly high number of games that did not even have way to
  45. stop the game, other than rebooting.  This was all defended under the
  46. name of "performance".  The game *players* on the other hand, all
  47. groused about the fact that they had to reboot in order to play a game
  48. or to stop playing (yes, many Amiga owners used their machines to do
  49. real work).  The games that worked with the OS worked just as fast
  50. and most also continued to work even with new versions.
  51.  
  52. Note that System Shock had an optional 640x480 svga mode, but it runs
  53. pretty slowly, even on relatively fast machines.  That mode could go
  54. lots faster if they could make use of a device driver, since that
  55. would allow video-card specific optimizations to be used (ie, you
  56. shouldn't have to resort to boring svga when you have a $200 video
  57. card).  In this instance, the lack of an OS makes the game slower
  58. than it could be.
  59.  
  60. I've seen all these arguments before, and never has anyone backed
  61. it up with anything concrete.
  62.  
  63. > Why is Microsoft
  64. > wooing games developers so intensely with their "Direct Whatever"
  65. > APIs that give programmers direct access to a virtualized hardware-
  66. > level device ? 
  67.  
  68. Because Microsoft Windows has historically been terrible at this
  69. sort of thing.  That doesn't help or hurt your point, except if
  70. you can't think beyond dos and windows as your only two choices.
  71.  
  72. > >1. Are inherently non-portable.
  73. > Big deal. The PC is a hardware standard; programs should work on
  74. > a PC independent of OS. What's non-portable is the tons of APIs
  75. > and little supervisor services that stand in the way. 
  76.  
  77. Um, in other words, we would have portability problems if
  78. everyone used a PC.  Sheesh, if everyone stuck to bicycles,
  79. we wouldn't have to worry about choosing between regular,
  80. supreme, and super gasoline when we fill up.  And the PC is
  81. not that standard, it's a shoddy architecture that barely works,
  82. is incompatible with itself (try putting an OS more robust than
  83. win3.1 on, and a lot of the hardware starts to fail).  The
  84. tons of API's owes a lot ot Microsoft, the company that refuses
  85. to use a standard unless they wrote it themself.
  86.  
  87. If you only use a PC, great.  Go off by yourself and stop
  88. bitching about people trying to do more.
  89.  
  90. > >Of course, these points are non-issues for the MSDOS programmer.
  91. > These are non-issues to personal computers.  And that's what DOS,
  92. > Windows and OS/2 are supposed to be: personal computer OS's.
  93.  
  94. What about Macs?  Guess they don't fit in the picture, because it's
  95. too hard to write portable code.  I think the only reason you put
  96. OS2 in the list is because it has a DOS emulation subsystem.
  97.  
  98. > As for Unix, multi-user actually stays in people's ways; it helps
  99. > nothing in a personal computer environment.
  100.  
  101. Not everyone uses computers the same way.  This means that not
  102. everyone uses computers the same way you do.  Which means that if you
  103. personally can't find a good use for something then you can't assume
  104. that no one else can.  I personally, get more useful stuff done when
  105. I log in on my X terminal to a UNIX box, than I ever do with that
  106. piece of junk on the other table.  I don't think you would, because
  107. you probably do different things than I do; but I don't go around
  108. assuming that everyone needs a multi user environment, so why are
  109. you going around assuming that no one needs one?
  110. -- 
  111. Darin Johnson
  112. djohnson@ucsd.edu
  113.     My shoes are too tight, and I have forgotten how to dance - Babylon 5
  114.